package red.mlz.appconsumer.feign.gametagrelation;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import red.mlz.common.entity.gametagrelation.GameTagRelation;

import java.util.List;

@FeignClient(name = "game-service", contextId = "gameTagRelation")
public interface GameTagRelationFeign {

    @RequestMapping("/gameTagRelationService/")
    List<GameTagRelation> findByGameId(@RequestParam(name = "id") Long gameId);
}
